import request from '../../../../../public/js/common/api/api.js'
const YunZhiJiaUrl = Utils.CurDomain.YunZhiJiaUrl;
const SysCfgUrl = Utils.CurDomain.SysCfgUrl;

export default class invoicepositionApi {
    /**
     * 列表
     * @param ids
     * @returns 
     */
    static getInvoiceInfos() {
        return request.get(`${YunZhiJiaUrl}/invoiceinfos`);
    }
    /**
     * 查询附件信息
     * @param ids
     * @returns 
     */
    static requestImagePath(id) {
        return request.get(`${SysCfgUrl}/yyattachments/${id}/url`);
    }

}